package com.primary.controller.dto;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author Shen Jianhui
 * @date 2024/03/03 22:37 Sunday
 * @description
 */

@Component
@Configuration
public class DbInfoDto {
//    @Value("${spring.datasource.driver-class-name}")
//    private String DRIVER_NAME;
//    @Value("${spring.datasource.url}")
//    private String dbURL;
//    @Value("${spring.datasource.username}")
//    private String dbUsername;
//    @Value("${spring.datasource.password}")
//    private String dbPassword;
    public static final String driver="com.mysql.cj.jdbc.Driver";
    public static final String dbURL="jdbc:mysql://localhost:3306";
    public static final String dbUsername="root";
    public static final String dbPassword="root";
}
